package com.zhz.service;

import com.zhz.domain.SysPrivilege;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author ：zhz
 * @date ：Created in 2020/12/20
 * @version: V1.0
 * @slogan: 天下风云出我辈，一入代码岁月催
 * @description: 
 **/
public interface SysPrivilegeService extends IService<SysPrivilege>{

    /**
     * 获取所有权限
     * @param menuId 菜单的ID
     * @param roleId 当前的查询的角色ID
     * @return
     */
        List<SysPrivilege> getAllSysPrivilege(Long menuId, Long roleId);
    }
